package icu.jiapeng.DemoJava.service;

import com.baomidou.mybatisplus.extension.service.IService;
import icu.jiapeng.DemoJava.entity.Request;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface RequestService extends IService<Request> {

    /**
     * 保存请求
     *
     * @param request http请求
     * @param body
     * @param params
     * @return 请求
     */
    Request saveRequest(HttpServletRequest request, String body, Map<String, Object> params);
}
